package com.learn.hibernatevalidator.chapter02.containerelement.nested;

import jakarta.validation.constraints.NotNull;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author: liyf
 * @create: 2024-12-21 21:15
 **/
public class Car {

    private Map<@NotNull Part, List<@NotNull Manufacturer>> partManufacturers = new HashMap<>();

    public Map<Part, List<Manufacturer>> getPartManufacturers() {
        return partManufacturers;
    }
}
